<div class="users view">
	
	<h2>
		<?php echo __('User'); ?>
	</h2>
	
	<?php
		// edit
		echo $this->Html->link(
			__('Edit'),
			array('action' => 'edit', $user['User']['id']),
			array('escape' => false, 'class' => 'button edit')
		);
		// delete
		echo $this->Html->link(
			__('Delete'),
			array('action' => 'delete', $user['User']['id']),
			array('escape' => false, 'class' => 'button delete'),
			__("Are you sure you want to delete this User?")
		);
	?>
	
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($user['User']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($user['User']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Email'); ?></dt>
		<dd>
			<?php echo $this->Text->autoLink($user['User']['email']); ?>
			&nbsp;
		</dd>
		<?php if($user['User']['picture']): ?>
		<dt><?php echo __('Picture'); ?></dt>
		<dd>
			<?php echo $this->Html->image("/files/profiles/" . $user['User']['picture'], array('width' => 80)); ?>
			&nbsp;
		</dd>
		<?php endif; ?>
	</dl>

</div>
